package com.syaccp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syaccp.model.Customer;
import com.syaccp.model.SysConfig;
import com.syaccp.model.SysUser;
import com.syaccp.request.CustomerAddAndUpdateRequest;
import com.syaccp.request.CustomerSelectRequest;
import com.syaccp.utils.Result;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CustomerService extends IService<Customer> {

    public Result findCustomerHeader(SysUser sysUser);

    public Result findCustomerPage(CustomerSelectRequest customerSelectRequest);



    public Result findCustomerById(Integer id);



    public Result updateCustomer(CustomerAddAndUpdateRequest customerAddAndUpdateRequest);
    public Result addCustomer(CustomerAddAndUpdateRequest customerAddAndUpdateRequest,SysUser sysUser);






}
